# basic data structures: list, tuple, dict, set
# basic data types: int, float, string, boolean, bytes, None
#
# Q1: Which data structures in python are mutable?
# mutable: list dict set
# immutable: tuple
#
# Q2: Which data structures in python are ordered?
# ordered: list tuple
# unordered: set dict

# constants
con_int = 1
con_float = 2.0
con_boolean = True
con_string = "Hello world"
con_bytes = bytes(con_string, 'utf-8')

# a list of 6 data types
homework_list = [
    con_int, con_float, con_string,
    con_boolean, con_bytes, None,
    ]

# a tuple of 6 data types
homework_tuple = (
    con_int, con_float, con_string,
    con_boolean, con_bytes, None,
    )

# a dict of 6 data types
homework_dict = {
    con_int: 1,
    con_float: 2.0,
    con_boolean: True,
    con_string: "Hello world",
    con_bytes: "Hello world",
    None: None,
    }

# a set of 6 data types
homework_set = {
    con_int, con_float, con_string,
    con_boolean, con_bytes, None,
    }

print(homework_list)
print(homework_tuple)
print(homework_dict)
print(homework_set)